ImageGear .NET v25.2 - Updated
ContainsKey Method




ImageGear.Windows.Controls Assembly > ImageGear.Core Namespace > ImGearReadOnlyDictionary<TKey,TValue> Class : ContainsKey Method
The key to locate in the dictionary.
Determines whether the dictionary contains the specified key.
Syntax
'Declaration
 
Public Function ContainsKey( _
   ByVal key As TKey _
) As Boolean
'Usage
 
Dim instance As ImGearReadOnlyDictionary(Of TKey,TValue)
Dim key As TKey
Dim value As Boolean
 
value = instance.ContainsKey(key)
public bool ContainsKey( 
   TKey key
)
public: bool ContainsKey( 
   TKey* key
) 
public:
bool ContainsKey( 
   TKey^ key
) 

Parameters

key
The key to locate in the dictionary.

Return Value

true if the dictionary contains an element with the specified key; otherwise, false.
See Also

Reference

ImGearReadOnlyDictionary<TKey,TValue> Class
ImGearReadOnlyDictionary<TKey,TValue> Members

Is this page helpful?
Yes No
Thanks for your feedback.